ThinkPHP5


think\process\exception\Timeout
library\think\process\exception\Timeout.php at line 16

Class Timeout

\RuntimeException
└─Timeout

public class Timeout
extends \RuntimeException


Constant Summary
final static int

TYPE_GENERAL

final static int

TYPE_IDLE

Constructor Summary
void

__construct(Process process, mixed timeoutType)

Method Summary
void

getProcess()

void

isGeneralTimeout()

void

isIdleTimeout()

void

getExceededTimeout()

Constant Detail

library\think\process\exception\Timeout.php at line 19

TYPE_GENERAL

public final static int TYPE_GENERAL = 1

library\think\process\exception\Timeout.php at line 20

TYPE_IDLE

public final static int TYPE_IDLE = 2

Constructor Detail

library\think\process\exception\Timeout.php at line 25

__construct

public void __construct(Process process, mixed timeoutType)

Method Detail

library\think\process\exception\Timeout.php at line 33

getProcess

public void getProcess()

library\think\process\exception\Timeout.php at line 38

isGeneralTimeout

public void isGeneralTimeout()

library\think\process\exception\Timeout.php at line 43

isIdleTimeout

public void isIdleTimeout()

library\think\process\exception\Timeout.php at line 48

getExceededTimeout

public void getExceededTimeout()

ThinkPHP5